<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DataTransferObject" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DataTransferObject" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="SignalementGroupDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Details" nillable="true" type="tns:ArrayOfSignalementGroupDetailDTO" />
      <xs:element minOccurs="0" name="ObservationDate" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SignalementGroupDTO" nillable="true" type="tns:SignalementGroupDTO" />
  <xs:complexType name="ArrayOfSignalementGroupDetailDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SignalementGroupDetailDTO" nillable="true" type="tns:SignalementGroupDetailDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSignalementGroupDetailDTO" nillable="true" type="tns:ArrayOfSignalementGroupDetailDTO" />
  <xs:complexType name="SignalementGroupDetailDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Comments" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ObjetPatrimonialId" type="xs:int" />
      <xs:element minOccurs="0" name="PanneId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SignalementGroupDetailDTO" nillable="true" type="tns:SignalementGroupDetailDTO" />
  <xs:complexType name="ArrayOfSignalementDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SignalementDTO" nillable="true" type="tns:SignalementDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSignalementDTO" nillable="true" type="tns:ArrayOfSignalementDTO" />
  <xs:complexType name="SignalementDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="BeginDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Comments" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsTerminated" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsUrgent" type="xs:boolean" />
      <xs:element minOccurs="0" name="MaxRepairDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ObjetPatrimonial" nillable="true" type="tns:ObjetPatrimonialDTO" />
      <xs:element minOccurs="0" name="Panne" nillable="true" type="tns:PanneDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SignalementDTO" nillable="true" type="tns:SignalementDTO" />
  <xs:complexType name="ObjetPatrimonialDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Age" type="xs:int" />
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" type="tns:ObjetPatrimonialDTOState" />
      <xs:element minOccurs="0" name="Town" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ObjetPatrimonialDTO" nillable="true" type="tns:ObjetPatrimonialDTO" />
  <xs:simpleType name="ObjetPatrimonialDTOState">
    <xs:restriction base="xs:string">
      <xs:enumeration value="FullyOperational" />
      <xs:enumeration value="PartiallyOperational" />
      <xs:enumeration value="NotOperational" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ObjetPatrimonialDTOState" nillable="true" type="tns:ObjetPatrimonialDTOState" />
  <xs:complexType name="PanneDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Severity" type="tns:PanneDTOSeverity" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PanneDTO" nillable="true" type="tns:PanneDTO" />
  <xs:simpleType name="PanneDTOSeverity">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Moderate" />
      <xs:enumeration value="Serious" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PanneDTOSeverity" nillable="true" type="tns:PanneDTOSeverity" />
  <xs:complexType name="CreateSignalementDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="ObjetPatrimonials" nillable="true" type="tns:ArrayOfObjetPatrimonialDTO" />
      <xs:element minOccurs="0" name="Pannes" nillable="true" type="tns:ArrayOfPanneDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CreateSignalementDTO" nillable="true" type="tns:CreateSignalementDTO" />
  <xs:complexType name="ArrayOfObjetPatrimonialDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ObjetPatrimonialDTO" nillable="true" type="tns:ObjetPatrimonialDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfObjetPatrimonialDTO" nillable="true" type="tns:ArrayOfObjetPatrimonialDTO" />
  <xs:complexType name="ArrayOfPanneDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PanneDTO" nillable="true" type="tns:PanneDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPanneDTO" nillable="true" type="tns:ArrayOfPanneDTO" />
</xs:schema>